package com.financial.sys.vo.repayment;

import com.financial.model.pojo.TRecharge;
import com.financial.model.pojo.TSystemDictionary;
import lombok.Data;

import java.util.List;

@Data
public class TRechargeResult {
    private Integer totalCount;
    private  Integer currentPage;
    private  Integer pageSize;
    private  Integer prevPage;
    private  Integer nextPage;
    private  Integer totalPage;
    public List<TRecharge> listData;
    public static  TRechargeResult empty(Integer pageSize){
        if(pageSize==0){
            return null;
        }
        return  new TRechargeResult();
    }
    public TRechargeResult(){

    }
    public TRechargeResult(List<TRecharge> listDate,Integer totalPage,Integer currentPage,Integer pageSize){
        this.listData=listDate;
        this.totalCount=totalPage;
        this.currentPage=currentPage;
        this.pageSize=pageSize;
    }
}
